07. Aligning Items & Justifying Content with Flexbox

Aligning Items & Justifying Content with Flexbox Heading

Aligning Items & Justifying Content with Flexbox

ND001 C01 L03 07 Aligning Items Justifying Content With Flexbox

Aligning Items & Justifying Content with Flexbox Recap

To align items on the cross axis use align-items with the possible values:

  • stretch
  • flex-start
  • flex-end
  • center

To justify content on the main axis use justify-content, which has the possible values:

  • flex-start
  • flex-end
  • center
  • space-around
  • space-between
  • space-evenly